<?php
/**
 * SocialEngine
 *
 * @category   Application_Widget
 * @package    Translator
 * @copyright  Copyright 2008-2011 NewroSoftMods and TaurusSoft
 * @license    http://www.socialengine.net/license/
 * @author     Bezugliy Sergey
 */
class Translator_Widget_TranslatorGoogleGlobalController extends Engine_Content_Widget_Abstract
{
    public function indexAction()
    {
        $viewer = Engine_Api::_()->user()->getViewer();
        if (!$viewer->getIdentity() and !$this->_getParam('isuserlogin')) {
            return $this->setNoRender();
        }
    }
}